package school.xauat.offershow.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.core.annotation.Order;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author ：zsy
 * @date ：Created 2021/12/15 23:38
 * @description：条目表
 */
@Data
@Setter
@Getter
@ToString
@TableName("t_entry")
public class Entry {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String company;

    private String position;

    private String city;

    private String salary;

    private int businessId;

    private int educationId;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date publishTime;

    private int views;

    private String content;

    private int userId;

}
